using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class BsOrderEntity : EntityBase
{
public BsOrderTable TableSchema
{
get
{
return (BsOrderTable)_tableSchema;
}}

public BsOrderEntity()
{
_tableSchema = BsOrderTable.Current;
}

#region 属性列表

public String OrderID
{
get { return Convert.ToString(GetData(BsOrderTable.C_ORDERID)); }
set { SetData(BsOrderTable.C_ORDERID, value); }
}

public DateTime? BillDate
{
get { return Convert.ToDateTime(GetData(BsOrderTable.C_BILLDATE)); }
set { SetData(BsOrderTable.C_BILLDATE, value); }
}

public String OrderType
{
get { return Convert.ToString(GetData(BsOrderTable.C_ORDERTYPE)); }
set { SetData(BsOrderTable.C_ORDERTYPE, value); }
}

public String QuoteID
{
get { return Convert.ToString(GetData(BsOrderTable.C_QUOTEID)); }
set { SetData(BsOrderTable.C_QUOTEID, value); }
}

public String CustomerID
{
get { return Convert.ToString(GetData(BsOrderTable.C_CUSTOMERID)); }
set { SetData(BsOrderTable.C_CUSTOMERID, value); }
}

public String ContactName
{
get { return Convert.ToString(GetData(BsOrderTable.C_CONTACTNAME)); }
set { SetData(BsOrderTable.C_CONTACTNAME, value); }
}

public String Mobile
{
get { return Convert.ToString(GetData(BsOrderTable.C_MOBILE)); }
set { SetData(BsOrderTable.C_MOBILE, value); }
}

public String SendCustomerID
{
get { return Convert.ToString(GetData(BsOrderTable.C_SENDCUSTOMERID)); }
set { SetData(BsOrderTable.C_SENDCUSTOMERID, value); }
}

public String SendContactName
{
get { return Convert.ToString(GetData(BsOrderTable.C_SENDCONTACTNAME)); }
set { SetData(BsOrderTable.C_SENDCONTACTNAME, value); }
}

public String SendMobile
{
get { return Convert.ToString(GetData(BsOrderTable.C_SENDMOBILE)); }
set { SetData(BsOrderTable.C_SENDMOBILE, value); }
}

public DateTime? DeliveryDate
{
get { return Convert.ToDateTime(GetData(BsOrderTable.C_DELIVERYDATE)); }
set { SetData(BsOrderTable.C_DELIVERYDATE, value); }
}

public String IsPreOrder
{
get { return Convert.ToString(GetData(BsOrderTable.C_ISPREORDER)); }
set { SetData(BsOrderTable.C_ISPREORDER, value); }
}

public String OfficialOrder
{
get { return Convert.ToString(GetData(BsOrderTable.C_OFFICIALORDER)); }
set { SetData(BsOrderTable.C_OFFICIALORDER, value); }
}

public String Currency
{
get { return Convert.ToString(GetData(BsOrderTable.C_CURRENCY)); }
set { SetData(BsOrderTable.C_CURRENCY, value); }
}

public String IsTax
{
get { return Convert.ToString(GetData(BsOrderTable.C_ISTAX)); }
set { SetData(BsOrderTable.C_ISTAX, value); }
}

public Decimal? TaxRate
{
get { return Convert.ToDecimal(GetData(BsOrderTable.C_TAXRATE)); }
set { SetData(BsOrderTable.C_TAXRATE, value); }
}

public String Status
{
get { return Convert.ToString(GetData(BsOrderTable.C_STATUS)); }
set { SetData(BsOrderTable.C_STATUS, value); }
}

public DateTime? CreateDate
{
get { return Convert.ToDateTime(GetData(BsOrderTable.C_CREATEDATE)); }
set { SetData(BsOrderTable.C_CREATEDATE, value); }
}

public String ModifyUserName
{
get { return Convert.ToString(GetData(BsOrderTable.C_MODIFYUSERNAME)); }
set { SetData(BsOrderTable.C_MODIFYUSERNAME, value); }
}

public String CreateUserID
{
get { return Convert.ToString(GetData(BsOrderTable.C_CREATEUSERID)); }
set { SetData(BsOrderTable.C_CREATEUSERID, value); }
}

public String CreateUserName
{
get { return Convert.ToString(GetData(BsOrderTable.C_CREATEUSERNAME)); }
set { SetData(BsOrderTable.C_CREATEUSERNAME, value); }
}

public DateTime? ModifyDate
{
get { return Convert.ToDateTime(GetData(BsOrderTable.C_MODIFYDATE)); }
set { SetData(BsOrderTable.C_MODIFYDATE, value); }
}

public String ModifyUserID
{
get { return Convert.ToString(GetData(BsOrderTable.C_MODIFYUSERID)); }
set { SetData(BsOrderTable.C_MODIFYUSERID, value); }
}

#endregion
}
}